Fallback to setting the prgname to "<unknown>" if someone doesn't pass in
authorChristopher Blizzard <blizzard@redhat.com>
Sat, 8 Dec 2001 21:13:02 +0000 (21:13 +0000)
committerChristopher Blizzard <blizzard@src.gnome.org>
Sat, 8 Dec 2001 21:13:02 +0000 (21:13 +0000)
Sat Dec  8 16:12:10 2001  Christopher Blizzard  <blizzard@redhat.com>

        * gdk/gdk.c (gdk_init_check): Fallback to setting the prgname to
        "<unknown>" if someone doesn't pass in a valid argc.  (Patch from
        Fabrice Bellet <fabrice@gnu.org>, #54127).

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdk.c

index c5f4f615e4b835f6cfc9a8f04f8da0630ce40bbc..183e07d8c4fb5e4194b75e81cbcb9bdaf67313b0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Dec  8 16:12:10 2001  Christopher Blizzard  <blizzard@redhat.com>
+
+       * gdk/gdk.c (gdk_init_check): Fallback to setting the prgname to
+       "<unknown>" if someone doesn't pass in a valid argc.  (Patch from
+       Fabrice Bellet <fabrice@gnu.org>, #54127).
+
 Sat Dec  8 10:04:54 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtkrbtree.c (_gtk_rbtree_debug_spew): Add debug spew to lots
index c5f4f615e4b835f6cfc9a8f04f8da0630ce40bbc..183e07d8c4fb5e4194b75e81cbcb9bdaf67313b0 100644 (file)
@@ -1,3 +1,9 @@
+Sat Dec  8 16:12:10 2001  Christopher Blizzard  <blizzard@redhat.com>
+
+       * gdk/gdk.c (gdk_init_check): Fallback to setting the prgname to
+       "<unknown>" if someone doesn't pass in a valid argc.  (Patch from
+       Fabrice Bellet <fabrice@gnu.org>, #54127).
+
 Sat Dec  8 10:04:54 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtkrbtree.c (_gtk_rbtree_debug_spew): Add debug spew to lots
index c5f4f615e4b835f6cfc9a8f04f8da0630ce40bbc..183e07d8c4fb5e4194b75e81cbcb9bdaf67313b0 100644 (file)
@@ -1,3 +1,9 @@
+Sat Dec  8 16:12:10 2001  Christopher Blizzard  <blizzard@redhat.com>
+
+       * gdk/gdk.c (gdk_init_check): Fallback to setting the prgname to
+       "<unknown>" if someone doesn't pass in a valid argc.  (Patch from
+       Fabrice Bellet <fabrice@gnu.org>, #54127).
+
 Sat Dec  8 10:04:54 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtkrbtree.c (_gtk_rbtree_debug_spew): Add debug spew to lots
index c5f4f615e4b835f6cfc9a8f04f8da0630ce40bbc..183e07d8c4fb5e4194b75e81cbcb9bdaf67313b0 100644 (file)
@@ -1,3 +1,9 @@
+Sat Dec  8 16:12:10 2001  Christopher Blizzard  <blizzard@redhat.com>
+
+       * gdk/gdk.c (gdk_init_check): Fallback to setting the prgname to
+       "<unknown>" if someone doesn't pass in a valid argc.  (Patch from
+       Fabrice Bellet <fabrice@gnu.org>, #54127).
+
 Sat Dec  8 10:04:54 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtkrbtree.c (_gtk_rbtree_debug_spew): Add debug spew to lots
index c5f4f615e4b835f6cfc9a8f04f8da0630ce40bbc..183e07d8c4fb5e4194b75e81cbcb9bdaf67313b0 100644 (file)
@@ -1,3 +1,9 @@
+Sat Dec  8 16:12:10 2001  Christopher Blizzard  <blizzard@redhat.com>
+
+       * gdk/gdk.c (gdk_init_check): Fallback to setting the prgname to
+       "<unknown>" if someone doesn't pass in a valid argc.  (Patch from
+       Fabrice Bellet <fabrice@gnu.org>, #54127).
+
 Sat Dec  8 10:04:54 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtkrbtree.c (_gtk_rbtree_debug_spew): Add debug spew to lots
index c5f4f615e4b835f6cfc9a8f04f8da0630ce40bbc..183e07d8c4fb5e4194b75e81cbcb9bdaf67313b0 100644 (file)
@@ -1,3 +1,9 @@
+Sat Dec  8 16:12:10 2001  Christopher Blizzard  <blizzard@redhat.com>
+
+       * gdk/gdk.c (gdk_init_check): Fallback to setting the prgname to
+       "<unknown>" if someone doesn't pass in a valid argc.  (Patch from
+       Fabrice Bellet <fabrice@gnu.org>, #54127).
+
 Sat Dec  8 10:04:54 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtkrbtree.c (_gtk_rbtree_debug_spew): Add debug spew to lots
index c5f4f615e4b835f6cfc9a8f04f8da0630ce40bbc..183e07d8c4fb5e4194b75e81cbcb9bdaf67313b0 100644 (file)
@@ -1,3 +1,9 @@
+Sat Dec  8 16:12:10 2001  Christopher Blizzard  <blizzard@redhat.com>
+
+       * gdk/gdk.c (gdk_init_check): Fallback to setting the prgname to
+       "<unknown>" if someone doesn't pass in a valid argc.  (Patch from
+       Fabrice Bellet <fabrice@gnu.org>, #54127).
+
 Sat Dec  8 10:04:54 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtkrbtree.c (_gtk_rbtree_debug_spew): Add debug spew to lots
index 86c459953497aa84c7895f876212333c16b0327f..319c619cd1bdc6d9524abdda46bd481a91bc6ba2 100644 (file)
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -299,7 +299,10 @@ gdk_init_check (int    *argc,
            g_set_prgname ((*argv)[0]);
        }
     }
-
+  else
+    {
+      g_set_prgname ("<unknown>");
+    }
   
 #ifdef G_ENABLE_DEBUG
   {